package com.bd.scm.domain.models.door;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 门禁权限
 * User: _Cps
 * Date: 2019.09.02 15:03
 */
@Data
@Accessors(chain = true)
@TableName("view_bd_door_access")
public class DoorAccess extends BaseRowModel implements Serializable {

    // 门禁权限序号
    //@ExcelProperty(value = "ID" ,index = 0)
    private Long xh;

    // 门编号
    //@ExcelProperty(value = "门编号" ,index = 1)
    private Long doorBh;

    // 门名称
    @ExcelProperty(value = "门名称" ,index = 0)
    private String doorName;

    // 场所编号
    //@ExcelProperty(value = "场所编号" ,index = 3)
    private Long placeSerial;

    // 场所名称
    @ExcelProperty(value = "场所名称" ,index = 1)
    private String placeName;

    // 员工编号
    //@ExcelProperty(value = "员工编号" ,index = 5)
    private Long userSerial;

    // 员工工号
    @ExcelProperty(value = "员工工号" ,index = 2)
    private String userNo;

    // 员工姓名
    @ExcelProperty(value = "员工姓名" ,index = 3)
    private String userName;

    // 员工卡号
    @ExcelProperty(value = "员工卡号" ,index = 4)
    private String userCard;

    // 部门名称
    @ExcelProperty(value = "部门名称" ,index = 5)
    private String deptName;

    // 规则名称
    @ExcelProperty(value = "规则名称" ,index = 6)
    private String ruleName;

    // 门禁方向
    @ExcelProperty(value = "门禁方向" ,index = 7)
    private String fx;


}
